package com.san.school.mapper;

import com.san.school.entity.CourseTeacher;
import com.san.school.entity.CourseTeacherExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * ClassName:CourseTeacherMapper
 * PackageName:com.san.school.mapper
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/6 18:07
 */


public interface CourseTeacherMapper {
    long countByExample(CourseTeacherExample example);

    int deleteByExample(CourseTeacherExample example);

    int deleteByPrimaryKey(@Param("courseid") Integer courseid, @Param("tid") Integer tid);

    int insert(CourseTeacher record);

    int insertSelective(CourseTeacher record);

    List<CourseTeacher> selectByExample(CourseTeacherExample example);

    int updateByExampleSelective(@Param("record") CourseTeacher record, @Param("example") CourseTeacherExample example);

    int updateByExample(@Param("record") CourseTeacher record, @Param("example") CourseTeacherExample example);
}